<!DOCTYPE html>

<html>
    <head>
        <meta charset="UTF-8">
        <title>主页面</title>
    </head>

    <body>

        {% if customer %}
        <h3>登录成功</h3>
        <div>欢迎{{customer.nickname}}登录</div>
        <div> 点击<a href="/customer/sign/out">这里</a>可以注销 </div>
        {% else %}
        <h3>你还没有登录哦</h3>
        <div> 点击<a href="/customer/sign/in">这里</a>可以登录 </div>
        {% endif %}

    </body>
</html>